package com.example.fridaykt.service

import com.example.fridaykt.common.result.R
import com.example.fridaykt.model.SysRole
import com.example.fridaykt.model.SysUser
import com.example.fridaykt.vo.Page
import com.example.fridaykt.vo.UserVO

/**
 * @author 27371
 * @description 针对表【sys_user(用户信息表)】的数据库操作Service
 * @createDate 2022-05-09 17:22:17
 */
interface SysUserService {
    fun login(username: String, password: String): R

    fun logout(): R

    fun getUserList(uservo: UserVO): Page<SysUser>

    fun getRoleListById(id: Long): List<SysRole>

    fun getMenuIdsByUserId(id: Long): List<Long>
}
